package com.hlw.hr_man.dao;

import java.util.List;

import com.hlw.hr_man.Model.DeptModel;

public interface FindDeptDao {
	public int getAllDepts();
	public int getAllDepts(String searchname); 
	public List<DeptModel> getDepts(int start,int pageSize);
	public List<DeptModel> getDepts(int start,int pageSize,String searchname);
	public String findDeptNameByEnumber(String enumber);
	
	/**
	 * 得到部门
	 * @return
	 */
	public List<DeptModel> getDeptments();
}
